package com.tuanzi.loan.business.service.statistics;

import com.tuanzi.loan.business.entity.family.ProductInfo;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.statistics.newonekey.NewOneKeyStatRequest;
import com.tuanzi.loan.vo.response.statistics.newonekey.NewOneKeyStatDetailResponse;
import com.tuanzi.loan.vo.response.statistics.newonekey.NewOneKeyStatTotalResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-06-27 15:38
 */
public interface NewOneKeyStatService {
    Page<NewOneKeyStatTotalResponse> totalList(PageSearcher<NewOneKeyStatRequest> pageSearcher);

    Page<NewOneKeyStatDetailResponse> detailList(PageSearcher<NewOneKeyStatRequest> pageSearcher);

    List<ProductInfo> getProductBySpaceId(Integer spaceId) throws Exception;
}
